import CommonApi from './common'

// 巡查内容
class InspectionPlanApi extends CommonApi {
    constructor() {
        super()
        this.scope = 'inspectionPlan'
    }
    // 获取巡查内容列表
    getContentList(data) {
        const path = this.resolvePath('/contentList')
        return this.post(path, data)
    }
    enable(data) {
        const path = this.resolvePath('/enable')
        return this.post(path, data)
    }
}

export default InspectionPlanApi
